//测试服
// var WxApiRoot = 'http://test.zebracd.com:8081/wx/';
// var WxApiRootGame = 'http://test.zebracd.com:8081/game/';



//正式服
var WxApiRoot = 'https://yndwd.zebracd.com/wx/';
var WxApiRootGame = 'https://yndwd.zebracd.com/game/';
//子敬本地

// var WxApiRoot = 'http://172.16.10.82:8081/wx/';
// var WxApiRootGame = 'http://172.16.10.82:8081/game/';








module.exports = {
  Login: WxApiRoot + 'auth/login', //首页数据接口
  detail: WxApiRoot + 'goods/detail', //商品数据接口
  Login: WxApiRoot + 'auth/login_by_weixin', //登录
  Index: WxApiRoot + 'goods/index', //首页数据接口
  List: WxApiRoot + 'goods/list', //首页按条件检索商品(品类/热卖等条件)
  Wallet: WxApiRoot + 'user/wallet', //我的钱包
  BalanceLog: WxApiRoot + 'user/balanceLog', //余额变更记录
  ProfitsList: WxApiRoot + 'user/profitsList', //收益明细
  Center: WxApiRoot + 'user/center', //收益明细
  SmsCode: WxApiRoot + 'auth/smsCode', //获取验证码
  BindPhone: WxApiRoot + 'auth/bindPhone', //绑定手机
  CarIndex: WxApiRoot + 'cart/index', //购物车首页
  CartAdd: WxApiRoot + 'cart/add', //加入购物车
  CartChecked: WxApiRoot + 'cart/checked', //购物车修改勾选状态




  Address: WxApiRoot + 'address/list', //收货地址
  Fastadd: WxApiRoot + 'cart/fastadd', //快速加入购物车
  Save: WxApiRoot + 'address/save', //地址保存
  Delete: WxApiRoot + 'address/delete', //删除地址
  Detail: WxApiRoot + 'address/detail', //详情查询
  Receive: WxApiRoot + 'coupon/receive', //优惠券领取
  MemberCenter: WxApiRoot + 'user/memberCenter', //会员中心
  ExchangeList: WxApiRoot + 'user/exchangeList', //积分兑换列表
  Commentlist: WxApiRoot + 'comment/list', //评论列表
  RefundOrderDetail: WxApiRoot + 'order/refundOrderDetail', //退款订单详情
  ReceiveIndex: WxApiRoot + 'coupon/index', //优惠券中心
  Integral: WxApiRoot + 'point/indexData', //积分任务中心
  IntegralList: WxApiRoot + 'point/list', //积分明细
  ReceiveUp: WxApiRoot + '/point/receive', //签到
  ArticleList: WxApiRoot + 'article/articleList', //發現好物
  ArticleDetail: WxApiRoot + 'article/articleDetail', //文本详情
  ArticleLike: WxApiRoot + 'article/articleLike', //文本点赞
  PointExchange: WxApiRoot + 'order/pointExchange', //积分兑换
  ExchangeIndexData: WxApiRoot + 'goods/list', //礼品卡首页
  Mylist: WxApiRoot + 'coupon/mylist', //我的礼品卡\
  Exchange: WxApiRoot + 'coupon/exchange', //激活码兑换








  CartUpdate: WxApiRoot + 'cart/update', //购物车修改数量
  CartDelete: WxApiRoot + 'cart/delete', //购物车删除商品
  CartCheckout: WxApiRoot + 'cart/checkout', //购物车确认订单
  CouponMylist: WxApiRoot + 'coupon/mylist', //优惠券列表
  RechargeActivityList: WxApiRoot + 'user/rechargeActivityList', //充值优惠活动
  DiscountsRecharge: WxApiRoot + 'user/discountsRecharge', //优惠充值下单
  FreedomRecharge: WxApiRoot + 'user/freedomRecharge', //自由充值下单
  StartPay: WxApiRoot + 'order/startPay', //微信支付
  BalancePay: WxApiRoot + 'order/balancePay', //余额支付
  OrderList: WxApiRoot + 'order/list', //订单列表
  Profile: WxApiRoot + 'auth/profile', //修改个人信息
  OrderSubmit: WxApiRoot + 'order/submit', //提交订单
  OrderDelete: WxApiRoot + 'order/delete', //删除订单
  OrderCancel: WxApiRoot + 'order/cancel', //取消订单
  OrderDetails: WxApiRoot + 'order/detail', //订单详情
  OrderRefund: WxApiRoot + 'order/refund', //订单退款
  OrderConfirm: WxApiRoot + 'order/confirm', //确认收货
  Upload: WxApiRoot + 'storage/upload', //上传图片接口
  OrderMyComment: WxApiRoot + 'order/myComment', //我的评论订单
  OrderComment: WxApiRoot + 'order/comment', //评论商品
  CancelRefund: WxApiRoot + 'order/cancelRefund', //撤销退款
  CommentDetail: WxApiRoot + 'order/commentDetail', //评论详情
  HotGoods: WxApiRoot + 'goods/hotGoods', //评论详情
  Withdraw: WxApiRoot + 'user/withdraw', //申请提现
  CreatePoster: WxApiRoot + 'goods/createPoster', //生成海报
  CouponGoodsDetail: WxApiRoot + 'coupon/couponGoodsDetail', //礼品卷-兑换详情
  CouponExchange: WxApiRoot + 'coupon/couponExchange', //礼品卷-兑换详情
  GiftOrderAffirm: WxApiRoot + 'gift/giftOrderAffirm', //赠礼确认页
  SubmitGiftOrder: WxApiRoot + 'gift/submitGiftOrder', //提交赠礼订单
  QueDefault: WxApiRoot + 'address/queDefault', //查询默认地址
  AddressDetail: WxApiRoot + 'address/detail', //查询指定地址
  UseGiftOrder: WxApiRoot + 'gift/useGiftOrder', //使用赠礼订单
  ReceiveParam: WxApiRoot + 'gift/receiveParam', //领取首页
  ReceiveGift: WxApiRoot + 'gift/receiveGift', //领取礼物
  PresentList: WxApiRoot + 'gift/presentList', //我赠送的订单
  ReceiveList: WxApiRoot + 'gift/receiveList', //我赠送的订单
  CreateIndexPoster: WxApiRoot + 'goods/createIndexPoster', //首页生成海报

  PointExchangeList: WxApiRootGame + 'propExchange/propExchangeList', //兑换实物
  PointExchangeGoodsDetail: WxApiRootGame + 'propExchange/propExchangeGoodsDetail', //兑换实物详情
  PropExchangeDetail: WxApiRootGame + 'propExchange/propExchangeDetail', //兑换实物订单详情
  PropExchange: WxApiRootGame + 'propExchange/propExchange', //提交订单
  PropExchangeLogList: WxApiRootGame + 'propExchange/propExchangeLogList', //兑换记录
  Attendance: WxApiRootGame + 'task/attendance', //签到
  LandDetail: WxApiRootGame + 'land/detail', //土地详情
  LandWater: WxApiRootGame + 'land/water', //浇水
  LandManure: WxApiRootGame + 'land/manure', //施肥
  TaskParam: WxApiRootGame + 'task/param', //任务列表
  TaskReceive: WxApiRootGame + 'task/receive', //领取道具
  LandFinish: WxApiRootGame + 'land/finish', //收割
  GameLog: WxApiRootGame + 'index/gameLog', //动态
  FindPropGoodsBuyList: WxApiRootGame + 'propExchange/findPropGoodsBuyList', //游戏推荐商品
  CreateGamePoster: WxApiRootGame + 'index/createGamePoster', //生成游戏海报
  QueGoodsId: WxApiRoot + 'goods/queGoodsId', //根据商品编号查询商品ID
  DrandGoods: WxApiRoot + 'goods/brandGoods', //-按店铺推荐
  DrandIndex: WxApiRoot + 'goods/brandIndex', //店铺详情
  





  Gameindex: WxApiRootGame + 'index/index', //游戏首页
  updateNickName: WxApiRootGame + 'index/updateNickName', //修改昵称
  Landinit: WxApiRootGame + 'land/init',//土地开垦
  LandProps: WxApiRootGame + 'land/landProps',//播种开垦
  setLight: WxApiRootGame + 'land/setLight',//光照设置
  Seed: WxApiRootGame + 'land/seed',//播种
  CreateGamePoster: WxApiRootGame + 'index/createGamePoster',//海报
  IssueList: WxApiRoot + 'issue/list',//问答
  


};